/* Memory management module for Project GHome 
 * Author: SUN Haoyu 
 * Janurary, 2012
 */


void *gmalloc(long numbytes);
/* return a pointer to a memory block of "numbytes" bytes 
 * do not forget cast this pointer to the right type
 */

void gfree(void *firstbyte);
/* set free the memory block @ "firstbyte"
 */



void show_mem_blocks();
/* List all the allocated memory blocks
 * show their detail like address , size, etc.
 * example:
 * 
 * memory blocks : 
 * block 0  size 20 @ 143638528  allocated
 * block 1  size 20 @ 143638848  allocated
 * block 2  size 20 @ 143639168  allocated
 * block 3  size 80 @ 143639488  free
 * end of list
 *
 */




